package test.producerconsumer;

public class Task {

	public enum Action {
		ADD, UPDATE, DELETE;
	}
	
	private Action action;
	private String subject;
	
	public Task(Action action, String subject) {
		super();
		this.action = action;
		this.subject = subject;
	}
	public Action getAction() {
		return action;
	}
	public void setAction(Action action) {
		this.action = action;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	
	
}
